This method is static.This sample demonstrates the different ways to get a Color object that represents the color Red.
var redColor = dundas.controls.Color.fromString('Red');
redColor = dundas.controls.Color.fromString('#FFFF0000');
redColor = dundas.controls.Color.fromString('rgb(255,0,0)');